package com.xszx.beans.dto;

import com.xszx.beans.Orders;

public class OrdersDto extends Orders {
    private String goodsName;
    private Double goodsPrice;
    private String goodsImg;


    public OrdersDto() {
    }

    public OrdersDto(String goodsName, Double goodsPrice, String goodsImg) {
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsImg = goodsImg;
    }

    public OrdersDto(String username, Integer goodsId, Integer state, Integer address, Integer num, String goodsName, Double goodsPrice, String goodsImg) {
        super(username, goodsId, state, address, num);
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsImg = goodsImg;
    }

    public OrdersDto(Integer id, String username, Integer goodsId, Integer state, Integer address, Integer num, String goodsName, Double goodsPrice, String goodsImg) {
        super(id, username, goodsId, state, address, num);
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsImg = goodsImg;
    }

    public OrdersDto(Integer id, String username, Integer state, Integer num, String goodsName, Double goodsPrice, String goodsImg) {
        super(id, username, state, num);
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsImg = goodsImg;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }
}
